package com.github.jarvett.application;

import com.github.jarvett.application.base.Result;
import com.github.jarvett.http.annotation.GetMapping;
import com.github.jarvett.http.annotation.RestController;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@RestController(value = "api")
public class AdminRestController {

    @GetMapping("getTokenByAccount")
    public Result<?> getTokenByAccount(String account, String pwd) throws Exception {
        log.info("管理员：使用账号:{} 密码:{}登录系统", account,pwd);
        return Result.failure("用户名或密码错误");
    }


}
